#ifndef __SHI_H
#define __SPI_H		

#include "utility.h"

int SPI_Open(void);
int SPI_Transfer(uint8_t *TxBuf, uint8_t *RxBuf, int len, int outputLog);
int SPI_Write(uint8_t *TxBuf, int len);
int SPI_Write_md144_pixel(unsigned short *TxBufPixel,int len);
int SPI_Close(void);
int SPI_LookBackTest(void);
int SPI_Read(uint8_t *RxBuf, int len);
int SPI_Write(uint8_t *TxBuf, int len);
#endif
